#wrapper {
	width: auto;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	border-right:1px solid #C4ECFF;
	border-left:1px solid #C4ECFF;
	margin-left: auto;
	margin-right: auto;
	max-width: 1150px;
	min-width: 600px;
}


/* Header
-----------------------------------------------------------------------------*/
/*#header {
	height: 40px;
	border-bottom:1px solid #DADADA;
	background: #C4ECFF;
	}
*/
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 25px;
	height: 1%;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content2 {padding: 2px;background:#FFF;}

/* Deepak Customize
-----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
		margin:.2em 0 .2em 0;
		padding:0;
	}
h1 {font-size:150%;color:#787878;}
h2 {font-size:140%;color:#575d66;}
h3 {font-size:130%;color:#339933;}
h4 {font-size:125%;color:#737373;}
h5 {font-size:115%;color:#737373;}
h6 {font-size:110%;color:#D90000;}

/* align */
.r  {text-align:right;}
.l  {text-align:left;}
.c  {text-align:center;}
.j  {text-align:justify;}
.ab {vertical-align:text-bottom;}
.vm {vertical-align:text-bottom;}
.fl {float:left}
.fr {float:right}

/* weight */
.n  {font-weight:normal; }
.b  {font-weight:bold; }
.u  {text-decoration:underline; color:#339933;}

.nw {white-space:nowrap}

img {border:0;margin:0}

a       {color:#009EEA; text-decoration:none;}
a:hover {color:#FF9900;}
a:focus {outline:0;} /* must have */
hr {border:0; height:1px;
    color:#FF9900; /* for IE */
    background-color:#FF9900; /* for Mozilla */
}

hr.cg {border:0; height:1px;
    color:#339933; /* for IE */
    background-color:#339933; /* for Mozilla */
}
p {	margin:.4em 0 .8em 0; padding:0;}

/*grbac */
.grbac   {width:100%;padding:6px 0;vertical-align:bottom;}
.grbac_even  {background-color:#F4F4F4;}
.grbac_odd   {background-color:#FFFFFF;}
.grbac table {width:100%;}
.grbac th    {background: #F0FFF0;border:1px solid #EFEDE9; border-bottom:0; border-top:0;height:26px;vertical-align: middle;text-align:right;}
.grbac td    {padding:4px;height:26px;vertical-align: middle; border:1px solid #EFEDE9;text-align:right;}

/* main menu */
.grbac_mh {padding:0 0 0 36px; height:32px; background: url('grbac/home.png')             no-repeat; display:inline-block;}
.srbac_mm {padding:0 0 0 36px; height:32px; background: url('grbac/srbac_mainmenu.png')   no-repeat; display:inline-block;
  padding-top: 14px;
}
.grbac_mm {padding:0 0 0 36px; height:32px; background: url('grbac/grbac_mainmenu.png')   no-repeat; display:inline-block;
  padding-top: 14px;
}
.grbac_ma {padding:0 0 0 36px; height:32px; background: url('grbac/account.png')          no-repeat; display:inline-block;opacity:.6;
  padding-top: 14px;
}
.grbac_mo {padding:0 0 0 36px; height:32px; background: url('grbac/logout.png')           no-repeat; display:inline-block;opacity:.6}

/* sub menu */
.grbac_aa {padding:0 0 0 28px; height:24px; background: url('grbac/account_active.png')   no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_ai {padding:0 0 0 28px; height:24px; background: url('grbac/account_inactive.png') no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_au {padding:0 0 0 28px; height:24px; background: url('grbac/add_user.png')         no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_an {padding:0 0 0 28px; height:28px; background: url('grbac/newsletters.png')      no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_cl {padding:0 0 0 48px; height:48px; background: url('grbac/class.png')      no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_ac {padding:0 0 0 48px; height:48px; background: url('grbac/activity.png')      no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_s_pw_chg {padding:0 0 0 28px; height:28px; background: url('grbac/pword_chg.png')      no-repeat; display:inline-block;vertical-align:bottom;}
.grbac_s_pi_upd {padding:0 0 0 28px; height:28px; background: url('grbac/info.png')      no-repeat; display:inline-block;vertical-align:bottom;}

.grbac_a {padding:0 16px; height:16px; background: url('grbac/add.png')  no-repeat; background-position:0 0;display:inline-block}
.grbac_e {padding:0 18px 0 0; height:16px; background: url('grbac/edit.png') no-repeat;display:inline-block;float:right;}
.grbac_d {padding:0 18px 0 0; height:16px; background: url('grbac/del.png')  no-repeat;display:inline-block;float:right;}
.grbac_1 {padding:0 18px 0 0; height:16px; background: url('grbac/del.png')  no-repeat;display:inline-block;float:right;}
.grbac_0 {padding:0 18px 0 0; height:16px; background: url('grbac/add.png')  no-repeat;display:inline-block;float:right;}

.grbac_onoff_1 {padding:0 18px 0 0; height:16px; background: url('grbac/ro_on.gif') no-repeat; display:inline-block;float:right; }
.grbac_onoff_1:hover { background-position: 0 -16px; }
.grbac_onoff_0 {padding:0 18px 0 0; height:16px; background: url('grbac/ro_of.gif') no-repeat; display:inline-block;float:right; }
.grbac_onoff_0:hover { background-position: 0 -16px; }



.grbac_list {width:100%;padding:6px 0;}
.grbac_list b {vertical-align:bottom;}
.grbac_list li {cursor:pointer; float:right; position:relative;padding:0px 24px; opacity:.6;}
.grbac_list li:hover {opacity:1;}
.grbac_list ul {padding:0px; margin:0px; display:inline-block;list-style:none}

div.yiiForm div.simple div.radiolist label {float:none;display:inline;}

div.grbac form {line-height: 200%; padding:5px;}
div.grbac label {margin:10px 5px;display: inline-block !important;width:200px;text-align:right;vertical-align:top}
div.grbac label.error, span.error {color:#C00;}
div.grbac input {margin:10px 5px;border-color:#809431; border-width: 0 0 1px 0;}
div.grbac input[type='submit'] {display: inline-block !important;position:relative;margin:10px 5px;}
div.grbac input[type='checkbox'] { margin-right: 5px; }
div.grbac input[type='button'] { cursor:pointer; }
div.grbac input[type='submit'] {display: inline-block !important; background:#2BBAFF; color:#FFFFFF;
    font-weight:bold; cursor:pointer; border:2px outset #009CE8;
	padding:3px 10px;outline:0;
	}
div.grbac input[type='submit']:hover, input[type='submit']:focus {border:2px outset #87C100;	background-color:#87C100;}

div.grbac input.error, textarea.error, select.error {border-color:#C00; vertical-align:top;}
div.errorSummary {background: #FFF0F0;}
